home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 9290 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: news3.digex.net!usenet
  2. From: jlp@apti.com (James L. Preston)
  3. Newsgroups: comp.lang.c++
  4. Subject: Embedding Scheme in a C++ program
  5. Date: 29 Feb 1996 15:02:10 -0500
  6. Organization: Advanced Power Technologies, Inc.
  7. Sender: jlp@sandbox.apti.com
  8. Message-ID: <tuu409ew8t.fsf@sandbox.apti.com>
  9. NNTP-Posting-Host: apti.com
  10. X-Newsreader: Gnus v5.0.8
  11.  
  12.  
  13. I have a large application (actually a group of apps that
  14. chat over sockets) that is in C++ with a Motif GUI,
  15. and now I want to put a scripting language in it.
  16. Some folks have told me to use a scheme-based embeddable
  17. interpreter (elk and guile are the main candidates)
  18. and I am poking around for info on the scheme groups and sites,
  19. but I thought that I would put some feelers out over here 
  20. to see how people feel about this who are not coming
  21. from the Lisp-Scheme-Academic Comp. Sci. world.
  22. Not to cast any aspersions at all, in fact, perhaps the
  23. whole project should have been glued together with
  24. scheme or tcl/tk in the first place, but it wasn't
  25. and now I am trying to figure out the best way to
  26. go. 
  27.  
  28. A couple of questions  that I have are:
  29.  
  30. Have any of you C++ programmers embedded scheme into
  31. an existing application as a scripting/extension language?
  32.  
  33. If so, do you have any examples (something smaller than
  34. unroff, perhaps)
  35.  
  36. How bad is the learning curve on this scheme stuff?
  37.  
  38. Should I bail out and do my own stuff with yacc??
  39. (All of the lispers say "No, then you would be writing 
  40. yet another tool control language.")
  41.  
  42. I would appreciate any input from folks who have done this sort
  43. of thing, because I want to do a nice job and this
  44. embeddable interpreter deal looks like the
  45. direction that this kind of thing will be taking in general.
  46.  
  47. later,
  48. jlp
  49.